package com.forumdemo.forum.utils;

import org.springframework.util.StringUtils;

import java.util.UUID;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2023-10-19
 * Time: 15:27
 */
public class UUIDUtil {
    public static String UUID_36() {// 完整的UUID
        return UUID.randomUUID().toString();
    }

    public static String UUID_32() {// 剔除 -
        return UUID.randomUUID().toString().replace("-", "");
    }
}
